home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
XmListReplaceItemsPos.z
/
XmListReplaceItemsPos
Wrap
Text File
|
1998-10-30
|
4KB
|
67 lines
XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeeIIIItttteeeemmmmssssPPPPoooossss((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeeIIIItttteeeemmmmssssPPPPoooossss((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeeIIIItttteeeemmmmssssPPPPoooossss - A List function that replaces the
specified elements in the list
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Xm/List.h>
vvvvooooiiiidddd XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeeIIIItttteeeemmmmssssPPPPoooossss(
WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt,
XXXXmmmmSSSSttttrrrriiiinnnngggg ****nnnneeeewwww____iiiitttteeeemmmmssss,
iiiinnnntttt iiiitttteeeemmmm____ccccoooouuuunnnntttt,
iiiinnnntttt ppppoooossssiiiittttiiiioooonnnn);
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeeIIIItttteeeemmmmssssPPPPoooossss replaces the specified number of items
of the List with new items, starting at the specified
position in the List. When the items are inserted into the
list, they are compared with the current XXXXmmmmNNNNsssseeeelllleeeecccctttteeeeddddIIIItttteeeemmmmssss
list. If any of the new items matches an item on the
selected list, it appears selected.
_w_i_d_g_e_t Specifies the ID of the List widget.
_n_e_w__i_t_e_m_s Specifies the replacement items.
_i_t_e_m__c_o_u_n_t
Specifies the number of items in _n_e_w__i_t_e_m_s and the
number of items in the list to replace. This
number must be nonnegative.
_p_o_s_i_t_i_o_n Specifies the position of the first item in the
list to be replaced. A value of 1 indicates that
the first item replaced is the first item in the
list; a value of 2 indicates that it is the second
item; and so on.
Beginning with the item specified in _p_o_s_i_t_i_o_n,
_i_t_e_m__c_o_u_n_titems in the list are replaced with the
corresponding elements from _n_e_w__i_t_e_m_s. That is,
the item at _p_o_s_i_t_i_o_n is replaced with the first
element of _n_e_w__i_t_e_m_s; the item after _p_o_s_i_t_i_o_n is
replaced with the second element of _n_e_w__i_t_e_m_s; and
so on, until _i_t_e_m__c_o_u_n_t is reached.
For a complete definition of List and its associated
resources, see XXXXmmmmLLLLiiiisssstttt(3).
RRRREEEELLLLAAAATTTTEEEEDDDD
XXXXmmmmLLLLiiiisssstttt(3).
Page 1 (printed 10/24/98)